<?php

namespace app\api\validate;
use think\Validate;
/**
* 设置模型
*/
class HotWord extends Validate{

	protected $rule = array(
		'title'  		=> 'require|unique:hot_word',
		//'describe'      	=> '',
	);
	protected $message = array(
		'title.require'    	=> '文件名必须填写',
		'title.unique'    	=> '文件名重复',
	);
}